package xyz.yuanjilu.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import xyz.yuanjilu.dao.CommunityWeixinDao;
import xyz.yuanjilu.entity.CommunityWeixinEntity;
import xyz.yuanjilu.service.CommunityWeixinService;



@Service("communityWeixinService")
public class CommunityWeixinServiceImpl implements CommunityWeixinService {
	@Autowired
	private CommunityWeixinDao communityWeixinDao;
	
	@Override
	public CommunityWeixinEntity queryObject(Long id){
		return communityWeixinDao.queryObject(id);
	}
	
	@Override
	public List<CommunityWeixinEntity> queryList(Map<String, Object> map){
		return communityWeixinDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return communityWeixinDao.queryTotal(map);
	}
	
	@Override
	public void save(CommunityWeixinEntity communityWeixin){
		communityWeixinDao.save(communityWeixin);
	}
	
	@Override
	public void update(CommunityWeixinEntity communityWeixin){
		communityWeixinDao.update(communityWeixin);
	}
	
	@Override
	public void delete(Long id){
		communityWeixinDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		communityWeixinDao.deleteBatch(ids);
	}
	
}
